package com.gpay.robert.controller;

/**
 * Copyright (C), 2020-2020
 * FileName: RobertStatic
 * Author:   luiz
 * Date:     2020/9/16 13:29
 * Description: 机器人发送统计
 */
public class RobertStatic {
    //机器人发送码地址
    private String roberUrl;
    //机器人发送码Token
    private String roberToken;
    //开始时间
    private long startTime;
    //结束时间
    private long endTime;
    //发送次数
    private int sendNum;
    //限制次数
    private int limitNum;

    public String getRoberUrl() {
        return roberUrl;
    }

    public void setRoberUrl(String roberUrl) {
        this.roberUrl = roberUrl;
    }

    public String getRoberToken() {
        return roberToken;
    }

    public void setRoberToken(String roberToken) {
        this.roberToken = roberToken;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        //开始时间+一分钟
        this.endTime= this.startTime+60*1000;
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getSendNum() {
        return sendNum;
    }

    public void setSendNum(int sendNum) {
        this.sendNum = sendNum;
    }

    public int getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(int limitNum) {
        this.limitNum = limitNum;
    }
}
